package com.smart.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@ApiModel("更新角色入参")
public class RoleUpdateRequest implements Serializable {
    @NotNull
    @ApiModelProperty("ID")
    private Long id;
    @ApiModelProperty("角色名称")
    private String roleName;
    @ApiModelProperty("角色描述")
    private String description;
    @ApiModelProperty("权限id集合")
    private List<Long> permissionIds;
}
